package com.example.tencentdemo.Mapper;

import com.example.tencentdemo.entity.ChatAdmin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface chatAdminMapper {
    // 插入用户和管理员的聊天列表
    int insertChatAdmin(ChatAdmin chat_admin);
    // 查询某个管理员的聊天人员名单
    List<ChatAdmin> selectChatPeople(String admin_id);

    List<ChatAdmin> selectExitPeople(String admin_id,String user_id);
}
